import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
// 引入饿了么UI库以及对应的样式
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入路由模块
import router from './router'
// 引入Store
import { createPinia } from 'pinia'

import instance  from './request'
createApp.prototype.$ = instance

// 链式编程.use(router).use(createPinia()).use(ElementPlus)
createApp(App).use(router).use(createPinia()).use(ElementPlus).mount('#app')
